import { defineStore } from 'pinia'

export const useStore = defineStore('store', {
  state: () => ({
    userInfo: {},
  }),

  actions: {
    setUserInfo(userInfo = {}) {
      this.userInfo = userInfo
    },
  },
})
